[INFO] fetching crate substreams-helper 0.0.2...
[INFO] checking substreams-helper-0.0.2 against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] extracting crate substreams-helper 0.0.2 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate substreams-helper 0.0.2 on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate substreams-helper 0.0.2
[INFO] finished tweaking crates.io crate substreams-helper 0.0.2
[INFO] tweaked toml for crates.io crate substreams-helper 0.0.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded primitive-types v0.11.1
[INFO] [stderr]   Downloaded pad v0.1.6
[INFO] [stderr]   Downloaded ethabi v17.2.0
[INFO] [stderr]   Downloaded ethbloom v0.12.1
[INFO] [stderr]   Downloaded ethereum-types v0.13.1
[INFO] [stderr]   Downloaded substreams-ethereum-derive v0.1.9
[INFO] [stderr]   Downloaded substreams-ethereum-abigen v0.1.9
[INFO] [stderr]   Downloaded substreams-macro v0.0.21
[INFO] [stderr]   Downloaded substreams-ethereum v0.1.9
[INFO] [stderr]   Downloaded substreams-ethereum-core v0.1.9
[INFO] [stderr]   Downloaded substreams v0.0.21
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9543b5db82cd108ebc2a6f291eb2774be912bf34c4fd1180871e43a61c939bce
[INFO] running `Command { std: "docker" "start" "-a" "9543b5db82cd108ebc2a6f291eb2774be912bf34c4fd1180871e43a61c939bce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9543b5db82cd108ebc2a6f291eb2774be912bf34c4fd1180871e43a61c939bce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9543b5db82cd108ebc2a6f291eb2774be912bf34c4fd1180871e43a61c939bce", kill_on_drop: false }`
[INFO] [stdout] 9543b5db82cd108ebc2a6f291eb2774be912bf34c4fd1180871e43a61c939bce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8b56d3ff0a70daff26c021d3b430e276107aa74d3efdcc09a4693d11d95a629c
[INFO] running `Command { std: "docker" "start" "-a" "8b56d3ff0a70daff26c021d3b430e276107aa74d3efdcc09a4693d11d95a629c", kill_on_drop: false }`
[INFO] [stderr]     Checking substreams-helper v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substreams_ethereum`
[INFO] [stdout]  --> src/erc20.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use substreams_ethereum::pb::eth as ethpb;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substreams_ethereum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bigdecimal`
[INFO] [stdout]  --> src/erc20.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bigdecimal::{BigDecimal};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `bigdecimal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `num_bigint`
[INFO] [stdout]  --> src/erc20.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use num_bigint::{BigInt};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `num_bigint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bigdecimal`
[INFO] [stdout]  --> src/math.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bigdecimal::{BigDecimal, One, Zero};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `bigdecimal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `num_bigint`
[INFO] [stdout]  --> src/math.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use num_bigint::{BigInt, BigUint};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `num_bigint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pad`
[INFO] [stdout]  --> src/math.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pad::PadStr;
[INFO] [stdout]   |     ^^^ use of undeclared crate or module `pad`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substreams_ethereum`
[INFO] [stdout]  --> src/erc20.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use substreams_ethereum::pb::eth as ethpb;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substreams_ethereum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bigdecimal`
[INFO] [stdout]  --> src/erc20.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use bigdecimal::{BigDecimal};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `bigdecimal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `num_bigint`
[INFO] [stdout]  --> src/erc20.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use num_bigint::{BigInt};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `num_bigint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bigdecimal`
[INFO] [stdout]  --> src/math.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bigdecimal::{BigDecimal, One, Zero};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `bigdecimal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `num_bigint`
[INFO] [stdout]  --> src/math.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use num_bigint::{BigInt, BigUint};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `num_bigint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `pad`
[INFO] [stdout]  --> src/math.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use pad::PadStr;
[INFO] [stdout]   |     ^^^ use of undeclared crate or module `pad`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substreams_ethereum`
[INFO] [stdout]   --> src/erc20.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         substreams_ethereum::rpc::eth_call(&rpc_calls);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substreams_ethereum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `substreams_ethereum`
[INFO] [stdout]   --> src/erc20.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         substreams_ethereum::rpc::eth_call(&rpc_calls);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `substreams_ethereum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `math`
[INFO] [stdout]  --> src/erc20.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{utils, math};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `math`
[INFO] [stdout]  --> src/erc20.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{utils, math};
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/math.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]   --> src/erc20.rs:14:39
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let rpc_calls = create_rpc_calls(&hex::decode(token_address).unwrap());
[INFO] [stdout]    |                                       ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]   --> src/erc20.rs:77:20
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let decimals = hex::decode("313ce567").unwrap();
[INFO] [stdout]    |                    ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]   --> src/erc20.rs:78:16
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let name = hex::decode("06fdde03").unwrap();
[INFO] [stdout]    |                ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]   --> src/erc20.rs:79:18
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let symbol = hex::decode("95d89b41").unwrap();
[INFO] [stdout]    |                  ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/math.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]   --> src/erc20.rs:14:39
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let rpc_calls = create_rpc_calls(&hex::decode(token_address).unwrap());
[INFO] [stdout]    |                                       ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]   --> src/erc20.rs:77:20
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let decimals = hex::decode("313ce567").unwrap();
[INFO] [stdout]    |                    ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]   --> src/erc20.rs:78:16
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let name = hex::decode("06fdde03").unwrap();
[INFO] [stdout]    |                ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex`
[INFO] [stdout]   --> src/erc20.rs:79:18
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let symbol = hex::decode("95d89b41").unwrap();
[INFO] [stdout]    |                  ^^^ use of undeclared crate or module `hex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pad_to_width_with_char` found for reference `&'static str` in the current scope
[INFO] [stdout]   --> src/math.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         "1".pad_to_width_with_char((decimals + 1) as usize, '0')
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Div`
[INFO] [stdout]  --> src/math.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::{Add, Div, Mul};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mul`
[INFO] [stdout]  --> src/math.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::{Add, Div, Mul};
[INFO] [stdout]   |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Add`
[INFO] [stdout]  --> src/math.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::{Add, Div, Mul};
[INFO] [stdout]   |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pad_to_width_with_char` found for reference `&'static str` in the current scope
[INFO] [stdout]   --> src/math.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         "1".pad_to_width_with_char((decimals + 1) as usize, '0')
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ method not found in `&'static str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Div`
[INFO] [stdout]  --> src/math.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::{Add, Div, Mul};
[INFO] [stdout]   |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mul`
[INFO] [stdout]  --> src/math.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::{Add, Div, Mul};
[INFO] [stdout]   |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Add`
[INFO] [stdout]  --> src/math.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::{Add, Div, Mul};
[INFO] [stdout]   |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `substreams-helper` due to 13 previous errors; 5 warnings emitted
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `substreams-helper` due to 13 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8b56d3ff0a70daff26c021d3b430e276107aa74d3efdcc09a4693d11d95a629c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b56d3ff0a70daff26c021d3b430e276107aa74d3efdcc09a4693d11d95a629c", kill_on_drop: false }`
[INFO] [stdout] 8b56d3ff0a70daff26c021d3b430e276107aa74d3efdcc09a4693d11d95a629c
